package com.brainhealth.customer.service;

import java.util.List;
import com.brainhealth.customer.domain.CustomerScore;

import javax.servlet.http.HttpServletRequest;

/**
 * 会员质量评分Service接口
 * 
 * @author wolong
 * @date 2023-05-17
 */
public interface ICustomerScoreService 
{
    /**
     * 查询会员质量评分
     * 
     * @param customerScoreId 会员质量评分主键
     * @return 会员质量评分
     */
    public CustomerScore selectCustomerScoreByCustomerScoreId(Long customerScoreId);

    /**
     * 查询会员质量评分列表
     * 
     * @param customerScore 会员质量评分
     * @return 会员质量评分集合
     */
    public List<CustomerScore> selectCustomerScoreList(CustomerScore customerScore);

    /**
     * 新增会员质量评分
     * 
     * @param customerScore 会员质量评分
     * @return 结果
     */
    public int insertCustomerScore(CustomerScore customerScore);

    /**
     * 修改会员质量评分
     * 
     * @param customerScore 会员质量评分
     * @return 结果
     */
    public int updateCustomerScore(CustomerScore customerScore);

    /**
     * 批量删除会员质量评分
     * 
     * @param customerScoreIds 需要删除的会员质量评分主键集合
     * @return 结果
     */
    public int deleteCustomerScoreByCustomerScoreIds(Long[] customerScoreIds);

    /**
     * 删除会员质量评分信息
     * 
     * @param customerScoreId 会员质量评分主键
     * @return 结果
     */
    public int deleteCustomerScoreByCustomerScoreId(Long customerScoreId);

    /**
     * 添加会员观看学习库质量评分
     * @param request
     * @return
     */
    public boolean setCustomerScore(HttpServletRequest request, Long learnId);
}
